package com.han.factory.before;

/**
 * @ClassName Coffee
 * @Description 咖啡类
 * @Author duoduo Han
 * @Date 2024/6/4 9:58
 */
public abstract class Coffee {
    public abstract String getName();
    //加糖
    public void addSugar(){
        System.out.println("加糖~");
    }

    //加奶
    public void addMilk(){
        System.out.println("加奶~");
    }
}
